import Layout from '@/layout'

const inorder =  {
    path: "/inorder",
    component: Layout,
    redirect: "/inorder/add",
    name: 'inorder',
    meta: {
      title: '进货管理',
      icon: 'inorder'
    },
    children: [
      {
        path: 'add',
        component: () => import('@/views/inorder/add'),
        meta: { title: '新增订单', icon: 'addOrder' }
      },
      {
        path: 'list',
        component: () => import('@/views/inorder/list'),
        meta: { title: '审批订单', icon: 'order' }
      },
      {
        path: 'check',
        component: () => import('@/views/inorder/check'),
        meta: { title: '审批通过', icon: 'checkOrder' }
      },
      {
        path: 'enable',
        component: () => import('@/views/inorder/enable'),
        meta: { title: '审批失败', icon: 'enableOrder' }
      }
    ]
  }

  export default inorder
